package com.huashizhaoxi.lionapp.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Notice {
    private int id;

    private String title;

    private String publisher;

    private String link_url;

    private LocalDate posttime;

    private int type;

    private String label;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate deadline;


}
